package com.reading.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;

@Data
@ToString
public class Reply {

  private Integer id;
  private String content;
  private Integer pid;
  private Integer uid;
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
  private LocalDateTime time;
  private String username;
  private String userurl;
}
